package com.hw.one.dam2.common;

/**
 * 数据计算类型 常量类
 * 实时数据 realTimeData
 * 累计数据 addUpTimeData
 * @author admin
 *
 */
public enum DataCalculateTypeEnum {

	REAL_TIME_DATA("realTimeData"){public String getName(){return "实时数据";}},
	ADD_UP_TIME_DATA("addUpTimeData"){public String getName(){return "累计数据";}};
	
	private final String value;
	
	private DataCalculateTypeEnum(String value){
		 this.value = value;
	 }
	 
	 public String getValue(){
		 return value;
	 }
	 
	 public abstract String getName();
}
